package com.twt.recruit.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.twt.recruit.entity.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;


public interface UserMapper extends BaseMapper<User> {

    @Select("select uid from user where name = #{name}")
    String getUidByName(String name);



}
